------------------------------------------------------------- lines 8-47 of file: include/cppad/example/valvector/class.hpp ------------------------------------------------------------- {xrst_begin_parent valvector} {xrst_spell jax numpy pytorch } valvector: An Example Machine Learning Base Class ################################################# This CppAD Base class preforms numerical operations on vectors; e.g., only one CppAD operation represents the element-by-element addition of two vectors. This is similar to the Pytorch Tensors or Jax Numpy Arrays. scalar_type *********** The type ``valvector::scalar_type`` is the type corresponding to each element of a valvector . We use *scalar_type* to denote this type. Getting Started =============== The file :ref:`valvector_get_started.cpp-name` is an example that computes derivatives using valvector as the base class. Other Examples ============== The file :ref:`valvector.cpp-name` tests that all of the valvector examples git the expected results. Operations ********** {xrst_toc_table after include/cppad/example/valvector/split_join.hpp include/cppad/example/valvector/sum.hpp example/valvector/get_started.cpp example/valvector/llsq_obj.cpp } {xrst_end valvector}