CoCalc
Sharedsupport / 2016-06-02-094138-numpy-array-latex / numpy-array-sagetex.sagetex.sageOpen in CoCalc
Description: Examples for support purposes.
License: GNU General Public License v3.0
Authors: Harald Schilly, ℏal Snyder, William A. Stein
1
## -*- encoding: utf-8 -*-
2
## This file (numpy-array-sagetex.sagetex.sage) was *autogenerated* from numpy-array-sagetex.tex with sagetex.sty version 2012/01/16 v2.3.3-69dcb0eb93de.
3
import sagetex
4
_st_ = sagetex.SageTeXProcessor('numpy-array-sagetex', version='2012/01/16 v2.3.3-69dcb0eb93de', version_check=True)
5
_st_.blockbegin()
6
try:
7
import numpy
8
P = numpy.array([[1,2],[3,4]])
9
except:
10
_st_.goboom(12)
11
_st_.blockend()
12
try:
13
_st_.inline(0, latex(matrix(P)))
14
except:
15
_st_.goboom(16)
16
_st_.endofdoc()
17