Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • openfoam openfoam
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 426
    • Issues 426
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 8
    • Merge requests 8
  • Deployments
    • Deployments
    • Releases
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Development
  • openfoamopenfoam
  • Issues
  • #59
Closed
Open
Issue created Jan 18, 2016 by Admin@OpenFOAM-adminMaintainer

Is Subtraction Commutative?

As per the Programming Guide Documentation ,page number P-16, "Addition and subtraction are both commutative and associative and are only valid between tensors of the same rank"

If I consider Rank 0, then both tensors are scalars, but subtraction of two scalars are not commutative (unless they are in field of characteristic 2) and associative. The same logic Rank 1 vector, and Rank 2 tensor. I hope, all tensor components are either real or complex. Is that true that subtractions is commutative and associative? If my comments are wrong, could you explain the reason?

Assignee
Assign to
Time tracking