Show
Ignore:
Timestamp:
12/28/07 16:02:11 (1 year ago)
Author:
wnbell
Message:

updated sparse docstrings

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/scipy/sparse/dia.py

    r3700 r3739  
    1616    This can be instantiated in several ways: 
    1717      - dia_matrix(D) 
    18         with a dense matrix 
     18        - with a dense matrix 
    1919 
    2020      - dia_matrix(S) 
    21         with another sparse matrix S (equivalent to S.todia()) 
     21        - with another sparse matrix S (equivalent to S.todia()) 
    2222 
    2323      - dia_matrix((M, N), [dtype]) 
    24         to construct an empty matrix with shape (M, N) 
    25         dtype is optional, defaulting to dtype='d'. 
     24        - to construct an empty matrix with shape (M, N) 
     25          dtype is optional, defaulting to dtype='d'. 
    2626 
    2727      - dia_matrix((data, diags), shape=(M, N)) 
    28         where the data[k,:] stores the diagonal entries for 
    29         diagonal diag[k] (See example below) 
    30  
    31  
    32     *Examples* 
    33     ---------- 
     28        - where the data[k,:] stores the diagonal entries for 
     29          diagonal diag[k] (See example below) 
     30 
     31 
     32    Examples 
     33    ======== 
     34 
    3435 
    3536    >>> from scipy.sparse import *