Begin example 1 and some refactoring.
parent
09b382098c
commit
57d19802f7
@ -1,7 +0,0 @@
|
||||
@book{bringhurst2004,
|
||||
author = {Robert Bringhurst},
|
||||
title = {The Elements of Typographic Style},
|
||||
year = {2004},
|
||||
publisher = {Hartley \& Marks},
|
||||
address = {Vancouver}
|
||||
}
|
||||
@ -0,0 +1,5 @@
|
||||
import numpy as np
|
||||
|
||||
|
||||
def build_T_matrix(alp, beta):
|
||||
return np.diag(alp) + np.diag(beta, -1) + np.diag(beta, 1)
|
||||
Loading…
Reference in New Issue