rm WeaveSupport
This commit is contained in:
@@ -8,20 +8,10 @@
|
||||
#| echo: false
|
||||
#| results: "hidden"
|
||||
using CalculusWithJulia
|
||||
using CalculusWithJulia.WeaveSupport
|
||||
using Plots
|
||||
using Measures
|
||||
using LaTeXStrings
|
||||
|
||||
#fig_size = (400, 300)
|
||||
fig_size = (800, 600)
|
||||
|
||||
const frontmatter = (
|
||||
title = "Vectors",
|
||||
description = "Calculus with Julia: Vectors",
|
||||
tags = ["CalculusWithJulia", "precalc", "vectors"],
|
||||
);
|
||||
|
||||
nothing
|
||||
```
|
||||
|
||||
@@ -711,11 +701,11 @@ The style generally employed here is to use plural variable names for a collecti
|
||||
## Other container types
|
||||
|
||||
|
||||
Vectors in `Julia` are a container, one of many different types. Another useful type for programming purposes are *tuples*. If a vector is formed by placing comma-separated values within a `[]` pair (e.g., `[1,2,3]`), a tuple is formed by placing comma-separated values withing a `()` pair. A tuple of length $1$ uses a convention of a trailing comma to distinguish it from a parenthesized expression (e.g. `(1,)` is a tuple, `(1)` is just the value `1`).
|
||||
Vectors in `Julia` are a container, one of many different types. Another useful type for programming purposes are *tuples*. If a vector is formed by placing comma-separated values within a `[]` pair (e.g., `[1,2,3]`), a tuple is formed by placing comma-separated values withing a `()` pair. A tuple of length $1$ uses a convention of a trailing comma to distinguish it from a parenthesized expression (e.g. `(1,)` is a tuple, `(1)` is just the value `1`).
|
||||
|
||||
:::{.callout-note}
|
||||
## Well, actually...
|
||||
Technically, the tuple is formed by the use of commas, which separate different expressions. The parentheses are typically used, as they clarify the intent. In a notebook interface, it is useful to just use commas to separate values to output, as typically the only the last command is displayed. This usage just forms a tuple of the values and displays that.
|
||||
Technically, the tuple is formed just by the use of commas, which separate different expressions. The parentheses are typically used, as they clarify the intent and disambiguate some usage. In a notebook interface, it is useful to just use commas to separate values to output, as typically the only the last command is displayed. This usage just forms a tuple of the values and displays that.
|
||||
|
||||
:::
|
||||
|
||||
|
||||
Reference in New Issue
Block a user