.. highlight:: c .. _custom_expression: Custom Expressions ------------------------------------------------- - Building custom expressions. The transpose example... Describe the concept, what to implement, etc.... - Transpose:: array A (2,2), B(2,2),C(2,2); C= A + 2*B; C = A + Transpose(B); // Transpose(X) returns a lazy object that models HasImmutableArrayInterface. C = A + Transpose(B + B); // X can also be an expression... C = Transpose(B); // // non square array R(2,3),Rt(3,2); cout<<" R = "<< array(Transpose(R)) <