
matplotlib.np.sin.kt Maven / Gradle / Ivy
package matplotlib.np
import matplotlib.np.NPVar.Companion.npVarNumber
import python.PythonScriptBuilder
fun sin(theta: NPVar): NPVar {
return object : NPVar {
override val variableName: String = "np_var_$npVarNumber"
init {
PythonScriptBuilder.addCommand("$variableName = np.sin(${theta.variableName})")
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy