Class Diag<NAMETYPE extends Name>


public class Diag<NAMETYPE extends Name> extends CompositeTensorFunction<NAMETYPE>
A tensor generator which returns a tensor of any dimension filled with 1 in the diagonal and 0 elsewhere.
Author:
bratseth