Learn R Programming

matpow (version 0.1.2)

genmulcmd: Generate Multiplication Command

Description

Functions to form quoted multiplication commands.

Usage

genmulcmd.vanilla(a,b,c) 
   genmulcmd.bigmemory(a,b,c)

Arguments

a

a quoted string.

b

a quoted string.

c

a quoted string.

Value

A quoted string for c = a * b for the given type of matrix/multiplication.

Details

One of the arugments to matpow is genmulcmd, a function to generate a string containing the command the multiply matrices. The string is fed into parse and eval for execution. The user may supply a custom function, or use either genmulcmd.vanilla or genmulcmd.bigmemory.