[ home ] [ math / cs / ai / phy / as / chem / bio / geo ] [ civ / aero / mech / ee / hdl / os / dev / web / app / sys / net / sec ] [ med / fin / psy / soc / his / lit / lin / phi / arch ] [ off / vg / jp / 2hu / tc / ts / adv / hr / meta / tex ] [ chat ] [ wiki ]

/cs/ - Computer Science


Name
Email
Subject
Comment
Verification
Instructions:
  • Press the Get Captcha button to get a new captcha
  • Find the correct answer and type the key in TYPE CAPTCHA HERE
  • Press the Publish button to make a post
  • Incorrect answer to the captcha will result in an immediate ban.
File
Password (For file deletion.)

25 Dec 2021Mathchan is launched into public


File: red black tree.png ( 46.56 KB , 1323x658 , 1662968963995.png )

Image
This board is for the discussion of computer science.

This includes topics such as data structures, algorithms, computation theory, programming languages, compilers, etc.


Inline code can be embedded in several different ways:
  • \inline{ ... }
    or
    \lstinline{ ... }
    commands
  • \begin{inline} ... \end{inline}
    environment
  • \< ... \>
    or
    ` ... `
    special blocks

Block-level code can also be embedded in several ways:
  • \code{ ... }
    ,
    \codeblock{ ... }
    commands
  • \begin{code} ... \end{code}
    ,
    \begin{codeblock} ... \begin{codeblock}
    or
    \begin{lstlisting} ... \end{lstlisting}
    environments
  • ``` ... ```
    special block

Syntax highlighting can be added by specifying a programming language like
\begin[language=java]{code} ... \end{code}
or like
```java ... ```
.


File: IMG_3828.jpg ( 1.52 MB , 3024x4032 , 1707016575519.jpg )

Image
In my downtime, I'm writing a CAS in Python. It has to be from scratch, because I want it to fit on my calculator, and all of the solutions out there import a lot of data. Currently, there are two separate programs, one which can do full polynomial arithmetic, but you have to type in the polynomial in program form, as a list of coefficients starting from x^0. I'm working on merging it with the CAS interface, which will evaluate expressions recursively. For example: (sin x)^2 is sin inputted into the function f(y) = y^2. Though I don't have time to make this logic perfect, it will be interesting to learn how to program a u-substitution for arbitrary input.
>>
>>160
Will be interesting when this makes a TI-84 a TI-89 lol
>>
>>161
test
>>
>>160

Is this possible to do with TI-Basic?
>>
>>165
I mean, TI-Basic is turing complete I believe, so yea theoretically yes. Through practically I doubt you can get enough memory lol


File: djikstra.png ( 128.3 KB , 1200x800 , 1711161860516.png )

Image
blackpill me on void linux


File: sun.gif ( 75.18 KB , 875x360 , 1676594209477.gif )

Image
Are there any good GPL compatible equilvalents to ZFS?
>>
no
>>

File: 428366642_361779006775444_7117656353283131930_n.jpg ( 171.38 KB , 2000x1500 , 1708547178810.jpg )

Image
>>155
Closest will probably be btrfs I'm gonna guess


File: sddefault.jpeg ( 26.37 KB , 640x480 , 1692854268329.jpeg )

Image
Functional or object-oriented; don't really care which. Must be able to give detailed non-obstuse error messages.
>>
>>157
a non-parser for syntaxless languages like lisp