39 const KN_<R>& KN_<R>::
operator oper (
const Mul_KNM_KN_<R>& u )
41 K_assert ( SameShape ( u.A.shapei ) && !constant() );
43 KN_<
const_R> li ( u.A ( 0,
'.' ) );
44 for (
int i = 0; i <
n; i++, l +=
step, ++li )
53 const KN_<R>& KN_<R>::
operator oper (
const Add_KN_<R>& u )
56 int stepa ( u.a.step ), stepb ( u.b.step );
58 const_R* aa ( u.a ), *bb ( u.b );
59 for (
int i = 0; i <
n; i++, l +=
step, aa += stepa, bb += stepb )
67 const KN_<R>& KN_<R>::
operator oper (
const Sub_KN_<R>& u )
70 int stepa ( u.a.step ), stepb ( u.b.step );
72 const_R* aa ( u.a ), *bb ( u.b );
73 for (
int i = 0; i <
n; i++, l +=
step, aa += stepa, bb += stepb )
81 const KN_<R>& KN_<R>::
operator oper (
const Mulc_KN_<R>& u )
84 int stepa ( u.a.step );
86 const_R* aa ( u.a ), bb ( u.b ) ;
87 for (
int i = 0; i <
n; i++, l +=
step, aa += stepa )
95 const KN_<R>& KN_<R>::
operator oper (
const Add_Mulc_KN_<R>& u )
98 const int stepa ( u.a.step ), stepb ( u.b.step );
99 const R ca ( u.ca ), cb ( u.cb );
101 const R* aa ( u.a ), *bb ( u.b );
102 for (
int i = 0; i <
n; i++, l +=
step, aa += stepa, bb += stepb )
104 * l
oper* aa* ca + *bb* cb;
const KN_ & operator=(const Mul_KNM_KN_< R > &u)
const KN_ & operator=(const Sub_KN_< R > &u)
const KN_ & operator=(const Add_KN_< R > &u)
void updateInverseJacobian(const UInt &iQuadPt)
const KN_ & operator=(const Mulc_KN_< R > &u)
const KN_ & operator=(const Add_Mulc_KN_< R > &u)