Sum {lazy.symbolic}R Documentation

Symbolic Sum of All the Elements

Description

Symbolic Sum of All the Elements

Usage

Sum(obj)

Arguments

obj

The object whose elements are to be summed.

Details

This is equivalent to Reduce( Plus, obj ).

Value

The symbolic sum of obj.

Examples

A <- demomat(3,3,root="a")
Sum(A)
Sum( diag(A) )
Sum( diag(matTimes(t(A),A)) )


[Package lazy.symbolic version 0.1.3 Index]