- Home
- CRAN
**MESS**: Miscellaneous Esoteric Statistical Scripts**tracemp**: Fast computation of trace of matrix product

# Fast computation of trace of matrix product

### Description

Fast computation of the trace of the matrix product trace(t(A)

### Usage

1 | ```
tracemp(A, B)
``` |

### Arguments

`A` |
A matrix with dimensions n*k. |

`B` |
A matrix with dimenions n*k. |

### Value

The trace of the matrix product

### Author(s)

Claus Ekstrom <claus@rprimer.dk>

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker. Vote for new features on Trello.

- adaptive.weights: Compute weights for use with adaptive lasso.
- adaptive.weights: Compute weights for use with adaptive lasso.
- age: Compute the age of a person from two dates.
- age: Compute the age of a person from two dates.
- auc: Compute the area under the curve for two vectors.
- auc: Compute the area under the curve for two vectors.
- bdstat: Danish live births and deaths
- bdstat: Danish live births and deaths
- bees: Bee data. Number of different types of bees caught.
- bees: Bee data. Number of different types of bees caught.
- clotting: Blood clotting for 158 rats
- clotting: Blood clotting for 158 rats
- cmd: Correlation matrix distance
- cmd: Correlation matrix distance
- col.alpha: Add and set alpha channel for RGB color
- col.alpha: Add and set alpha channel for RGB color
- col.shade: Shade an RGB color
- col.shade: Shade an RGB color
- col.tint: Tint an RGB color
- col.tint: Tint an RGB color
- common.shared: Compute a common shared environment matrix
- common.shared: Compute a common shared environment matrix
- drop1.geeglm: Drop All Possible Single Terms to a geeglm Model Using Wald...
- drop1.geeglm: Drop All Possible Single Terms to a geeglm Model Using Wald...
- earthquakes: Earthquakes in 2015
- earthquakes: Earthquakes in 2015
- extended.shared: Compute a common shared environment matrix
- extended.shared: Compute a common shared environment matrix
- fac2num: Convert factor to numeric vector
- fac2num: Convert factor to numeric vector
- feature.test: Inference for features identified by the Lasso
- feature.test: Inference for features identified by the Lasso
- filldown: Fill down NA with the last observed observation
- filldown: Fill down NA with the last observed observation
- geekin: Fit a generalized estimating equation (GEE) model with fixed...
- geekin: Fit a generalized estimating equation (GEE) model with fixed...
- gkgamma: Goodman-Kruskal's gamma statistic for a two-dimensional table
- gkgamma: Goodman-Kruskal's gamma statistic for a two-dimensional table
- greenland: Average yearly summer air temperature for Tasiilaq, Greenland
- greenland: Average yearly summer air temperature for Tasiilaq, Greenland
- happiness: Happiness score and tax rates for 148 countries
- happiness: Happiness score and tax rates for 148 countries
- ht: Show the head and tail of an object
- ht: Show the head and tail of an object
- icecreamads: Ice cream consumption and advertising
- icecreamads: Ice cream consumption and advertising
- kwdata: Non-parametric Kruskal Wallis data example
- kwdata: Non-parametric Kruskal Wallis data example
- lifeexpect: Estimated life expectancy for Danish newborns
- lifeexpect: Estimated life expectancy for Danish newborns
- lower.tri.vector: Split Matrix by Clusters and Return Lower Triangular Parts as...
- lower.tri.vector: Split Matrix by Clusters and Return Lower Triangular Parts as...
- matched: Flu hospitalization
- MESS: Collection of miscellaneous useful and semi-useful functions
- MESS: Collection of miscellaneous useful and semi-useful functions
- mfastLm_cpp: Fast marginal simple regresion analyses
- mfastLm_cpp: Fast marginal simple regresion analyses
- nh4: Ammonia nitrogen found in river
- nh4: Ammonia nitrogen found in river
- ordered.clusters: Check if unique elements of a vector appear in contiguous...
- ordered.clusters: Check if unique elements of a vector appear in contiguous...
- panel.hist: Panel plot of histogram and density curve
- panel.hist: Panel plot of histogram and density curve
- panel.r2: Panel plot of R2 values for pairs
- panel.r2: Panel plot of R2 values for pairs
- picea: Ozone concentration damage to picea spruce
- picea: Ozone concentration damage to picea spruce
- power.binom.test: Power Calculations for Exact Test of a simple null hypothesis...
- power.binom.test: Power Calculations for Exact Test of a simple null hypothesis...
- power.mcnemar.test: Power Calculations for Exact and Asymptotic McNemar Test in a...
- power.mcnemar.test: Power Calculations for Exact and Asymptotic McNemar Test in a...
- power.t.test: Power calculations for one and two sample t tests with...
- power.t.test: Power calculations for one and two sample t tests with...
- qdiag: Fast extraction of matrix diagonal
- qdiag: Fast extraction of matrix diagonal
- QIC: Quasi Information Criterion
- QIC: Quasi Information Criterion
- qpcr: Gene expression from real-time quantitative PCR
- qpcr: Gene expression from real-time quantitative PCR
- quadform: Fast quadratic form computation
- quadform: Fast quadratic form computation
- rainman: Perception of points in a swarm
- rainman: Perception of points in a swarm
- repmat: Fast replication of a matrix
- repmat: Fast replication of a matrix
- residualplot: Plots a standardaized residual
- residualplot: Plots a standardaized residual
- rmvtnorm.pedigree: Simulate residual multivariate Gaussian data from a polygenic...
- rmvtnorm.pedigree: Simulate residual multivariate Gaussian data from a polygenic...
- rmvt.pedigree: Simulate residual multivariate t-distributed data from a...
- rmvt.pedigree: Simulate residual multivariate t-distributed data from a...
- rootonorm: Hanging rootogram for normal distribution
- rootonorm: Hanging rootogram for normal distribution
- scorefct: Internal functions for the MESS package
- scorefct: Internal functions for the MESS package
- segregate.genes: Segregate genes through a pedigree
- segregate.genes: Segregate genes through a pedigree
- sinv: Invert a symmetric positive-definite matrix
- sinv: Invert a symmetric positive-definite matrix
- smokehealth: Effect of smoking on self reported health
- smokehealth: Effect of smoking on self reported health
- soccer: Danish national soccer players
- soccer: Danish national soccer players
- superroot2: Gene expression data from two-color dye-swap experiment
- superroot2: Gene expression data from two-color dye-swap experiment
- tracemp: Fast computation of trace of matrix product
- tracemp: Fast computation of trace of matrix product
- wallyplot: Plots a Wally plot
- wallyplot: Plots a Wally plot
- write.xml: Write a data frame in XML format
- write.xml: Write a data frame in XML format