mixed_ctor_xam.py#

View page source

Mixed 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