\(\newcommand{\B}[1]{ {\bf #1} }\) \(\newcommand{\R}[1]{ {\rm #1} }\)
mixed_ctor_xam.py#
View page sourceMixed Class Constructor: Example and Test#
def ctor_xam() :
import cppad_py
import numpy
ok = True
#
fixed_init = numpy.array( [ 1 ], dtype=float )
mixed_obj = cppad_py.mixed(fixed_init = fixed_init)
return ok