src/PHPSci/Kernel/CArray/Wrapper.php
public static function inner(\CArray $a, \CArray $b): \CArray
    {
        return parent::inner($a, $b);
    }
public static function inner(\CArray $a, \CArray $b): \CArray
    {
        return parent::inner($a, $b);
    }
public static function inner ( \ CArray $ a , \ CArray $ b ) : \ CArray { return parent :: inner ( $ a , $ b ) ; }
Inner product of two CArrays.

If 1D - Ordinary inner product of vectors
If 2D - Sum product over the last axes.

@param \CArray $a Target $a CArray - Last Dimension must match $b
@param \CArray $b Target $b CArray - Last Dimension must match $a

@return \CArray Inner product of $a and $b
Inner product of two CArrays .