일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 | 31 |
- 이진 탐색
- Big-Oh 예제
- nonhomogeneous linear system
- itertools
- Big-Oh notation
- homogeneous linear system
- Big Omega
- 알고리즘 분석의 실례
- linear dependence
- 랜덤 순서 배열
- nontrivial solution
- NumPy
- 빅오메가
- python
- 일차변환
- 코틀린 시작하기
- 빅세타
- matrix trnasformations
- 코틀린 Hello World!
- includepdf
- 재귀함수
- recursive algorithms
- 페이지 겹칩
- 배열 섞기
- trivial solution
- Big Theta
- Big-O 예제
- matrix fo a linear transformation
- 빅오 표기법
- one-to-one
- Today
- Total
목록분류 전체보기 (157)
코딩 연습
cat 을 이용한 파일의 생성 cat > creatingfile cat 이라는 명령어를 이용하여 creatingfile 이라는 파일을 생성한다. 이때, > 라는 redirect 기호를 같이 사용해야 파일이 생성된다. 이후에 파일의 내용을 입력하고 CTRL-D 를 입력하면 파일이 생성된다. ❯ cat > creatingfile Test of creating file. 생성된 파일의 내용을 보고 싶다면 cat creatingfile 명령을 사용한다. ❯ cat creatingfile Test of creating file. 생성된 파일에 내용을 추가하고 싶다면 cat >> creatingfile 과 같이 double redirect (>>)를 사용한다. ❯ cat >> creatingfile Adding c..
locate 파일이름 : 파일이름이 들어간 모든 것을 찾아줌. 결과가 너무 많아서 당황스러움 whereis 파일이름 : 파일이름으로 된 binary 들만 찾아줌 (binary 는 실행 가능한 파일을 나타냄. 윈도우에서 exe 파일 같은 것) which 파일이름 : PATH 에 있는 파일이름으로 된 것들을 찾아줌 find directory options expression : 디렉토리와 파일타입을 지정해서 파일을 찾을 수 있음 find /home/jk -type f -name hello.c : jk의 홈디렉토리(/home/jk)와 모든 하위 디렉토리에서 일반 파일타입(-type f)의 hello.c 라는 이름으로 검색 find 의 경우 다른 명령어들과는 다르게 정확하게 일치하는 파일만 찾아낸다. 예를 들어..

f(x) = \begin{cases} \dfrac{x^2-a}{x-2} & (x \ne 2) \\ b & (x=2) \end{cases} 라고 했을 때, 다음과 같이 b의 위치가 왼쪽 정렬이 된 것을 볼 수 있다. b의 위치를 중앙으로 바꾸기 위해서는 b 앞에 /hfil 을 적어주면 된다. f(x) = \begin{cases} \dfrac{x^2-a}{x-2} & (x \ne 2) \\ \hfil b & (x=2) \end{cases}

$\left (a^{m} \right )^{n} = \underbrace{ \overbrace{(a \times \cdots \times a)}^{a\text{가 }m\text{개}} \times \overbrace{(a \times \cdots \times a)}^{a\text{가 }m\text{개}} \times \cdots \times \overbrace{(a \times \cdots \times a)}^{a\text{가 }m\text{개}}}_{\text{괄호가 }n\text{개} } =\underbrace{a \times a \times \cdots \times a}_{mn\text{개}} =a^{mn}$

TeX 에서 \textcircled{1} 을 사용하면 다음과 같이 원문자가 이상하게 나온다. 이때는 다음의 방법을 사용하면 된다. \documentclass{article} \usepackage{tikz} \newcommand*\circled[1]{\tikz[baseline=(char.base)]{ \node[shape=circle,draw,inner sep=1pt] (char) {#1};}} \begin{document} \circled{1} \circled{2} \circled{3} \end{document} 결과는 다음과 같다.

enumerate 에서 들여쓰기를 하고 싶으면 다음과 같이 \begin{enumerate} 다음에 \setlength{\itemindent}{1cm} 를 적어주면 된다. 두 함수 $f \; : \; X \to Y$, $g \; : \; U \to V$에서 정의역, 공역 그리고 함숫값이 같을 때, 즉 \begin{enumerate}[(1)]\setlength{\itemindent}{1cm} \item $X=U$, $Y=V$ \item 정의역의 모든 원소에 대하여 $f(x)=g(x)$이다. \end{enumerate} 를 만족할 때, 두 함수 $f$와 $g$는 서로 같다고 하며 $f=g$로 나타낸다. 결과는 다음과 같다.
리눅스에서 PATH 에 tex 디렉토리를 추가했음에도 불구하고 AUCTeX cannot find a working TeX distribution 라는 메세지를 만날 수 있다. 이런 메세지를 만난다면 init.el (doom emacs 의 경우는 config.el)에 다음의 내용을 추가하면 된다. (setenv "PATH" (concat "/usr/local/texlive/2021/bin/x86_64-linux:" (getenv "PATH"))) (add-to-list 'exec-path "/usr/local/texlive/2021/bin/x86_64-linux")
spacevim 에서 julia layer 를 설정하고 "이름.jl" 파일을 편집하면 리턴키를 누를 때마다 recursive mapping이라는 메세지만 뜨고 다음줄로 넘어가지 않는 현상이 발생한다. 이 문제를 해결하기 위해서는 ~/.SpaceVim/autoload/SpaceVim/layers/lang/julia.vim 파일을 열어서 다음과 같이 수정해야 한다. let g:latex_to_unicode_auto = 1 위와 같은 부분을 찾아서 "1" 부분을 "0"으로 설정해주면 된다.
일단 ~/.config/kime/config.yaml 파일을 생성한다. (kime 폴더가 없다면 만들어주면 된다.) 그리고 다음의 내용을 config.yaml 에 넣고 저장한다. daemon: modules: - Xim - Wayland - Indicator indicator: icon_color: Black log: global_level: DEBUG engine: default_category: Latin global_category_state: false global_hotkeys: M-C-Backslash: behavior: Mode: Math result: ConsumeIfProcessed Super-Space: behavior: Toggle: - Hangul - Latin result: Con..

우분투에서 AppImage 를 Applications 메뉴에서 보이게 하려면 다운로드한 AppImage 파일을 적당한 위치에 저장한다. (audacity.AppImage 파일을 /opt/audacity/ 폴더에 저장했음) 저장한 파일을 우클릭하여 Properties 를 선택한다. 위쪽에서 Permissions 탭을 클릭하여 Execute: Allow executing file as program 항목에 체크한다. 터미널을 열어 /usr/share/applications 디렉토리로 이동한다. 앱이름.desktop 파일을 생성한다. $sudo touch audacity.desktop gedit 으로 생선한 파일을 열어서 다음의 내용을 입력한 후 저장한다. $sudo gedit audacity.desktop ..