All Downloads are FREE. Search and download functionalities are using the official Maven repository.

matlabcontrol.link.MatlabNonNumericMatrix Maven / Gradle / Ivy

There is a newer version: 4.6.0
Show newest version
/*
 * Code licensed under new-style BSD (see LICENSE).
 * All code up to tags/original: Copyright (c) 2013, Joshua Kaplan
 * All code after tags/original: Copyright (c) 2016, DiffPlug
 */
package matlabcontrol.link;

/**
 * 
 *
 * @since 4.2.0
 * @author Joshua Kaplan
 */
abstract class MatlabNonNumericMatrix extends MatlabMatrix {
	/**
	 * Returns an array that holds the values from the MATLAB matrix. Each call returns a new copy which may be used in
	 * any manner; modifications to it will have no effect on this instance.
	 * 
	 * @return array
	 */
	public T toArray() {
		return getBaseArray().toRealArray();
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy