Wolfram ResearchPRODUCTSPURCHASEFOR USERSCOMPANYOUR SITES
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.

Inner

Usage

Inner[f,  ,  , g] is a generalization of Dot in which f plays the role of multiplication and g of addition.


Notes

• Example: Inner[f, a,b , x,y ,g]LongRightArrow .
Inner[f,  a,b , c,d  , x,y ,g]LongRightArrow .
• Like Dot, Inner effectively contracts the last index of the first tensor with the first index of the second tensor. Applying Inner to a rank  tensor and a rank  tensor gives a rank  tensor.
Inner[f,  ,  ] uses Plus for g.
Inner[f,  ,  , g, n] contracts index n of the first tensor with the first index of the second tensor.
• The heads of  and  must be the same, but need not necessarily be List.
• See also: Outer, Thread, MapThread, ListCorrelate.
• New in Version 1.
• Advanced Documentation.


Any questions about topics on this page? Click here to get an individual response.Buy NowFree TrialMore Information



 © 2009 Wolfram Research, Inc.  Terms of Use  Privacy Policy |
Sign up for our newsletter: