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

org.nd4j.linalg.transformation.MatrixTransformations Maven / Gradle / Ivy

There is a newer version: 1.0.0-M2.1
Show newest version
package org.nd4j.linalg.transformation;

public class MatrixTransformations {

	public static MatrixTransform multiplyScalar(double num) {
		return new MultiplyScalar(num);
	}
	
	public static MatrixTransform addScalar(double num) {
		return new AddScalar(num);
	}
	
	public static MatrixTransform divideScalar(double num) {
		return new DivideScalar(num);
	}
	
	
	public static MatrixTransform sqrt() {
		return new SqrtScalar();
	}
	
	public static MatrixTransform exp() {
		return new ExpTransform();
	}
	
	public static MatrixTransform log() {
		return new LogTransform();
	}
	
	
	public static MatrixTransform powScalar(double num) {
		return new PowScale(num);
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy