i not only sqrt(-1)

i not only sqrt(-1) - Сообщения

#1 Опубликовано: 28.05.2023 13:35:26
Valery Ochkov

Valery Ochkov

55 сообщений из 633 понравились пользователям.

Группа: User

We need the i variable as variable but not as sqrt(-1)
i.png
#2 Опубликовано: 30.05.2023 10:42:37
⚜ Kenny Lemens, P.E. ᵂᴵ

⚜ Kenny Lemens, P.E. ᵂᴵ

74 сообщений из 164 понравились пользователям.

Группа: User

Greetings,

Wrote

We need the i variable as variable but not as sqrt(-1)



There are other ASCII that can be used to avoid the imaginary number 'i'; For example, you can use the character below (will become Italic):
і:22

You also have the ability to use the 'i' variable with a subscript character (or a space) that will be treated as a different variable then 'i':
i.:22

May this be of Good Help;
⚜ Kenny Lemens, P.E. ᵂᴵ
"No matter where you go, there you are." -Buckaroo BanzaiHotkeys: https://en.smath.com/forum/resource.ashx?a=45771&b=2
1 пользователям понравился этот пост
Valery Ochkov 30.05.2023 12:25:00
#3 Опубликовано: 31.05.2023 09:14:48
Valery Ochkov

Valery Ochkov

55 сообщений из 633 понравились пользователям.

Группа: User

Wrote

Greetings,

You also have the ability to use the 'i' variable with a subscript character (or a space) that will be treated as a different variable then 'i':

i.:22

May this be of Good Help;
⚜ Kenny Lemens, P.E. ᵂᴵ



i-1.png

#4 Опубликовано: 31.05.2023 10:30:43
Martin Kraska

Martin Kraska

1222 сообщений из 2150 понравились пользователям.

Группа: Moderator

You can guess the drop from the vertical position of the scoping line of the cursor. You also can add a visual dot by typing i. Ctrl-K . This prevents the dot being converted to a comma . Yet, I am not a fan of any tricks which aren't obvious to the reader. But that is a matter of taste.
Martin Kraska Pre-configured portable distribution of SMath Studio: https://en.smath.info/wiki/SMath%20with%20Plugins.ashx
1 пользователям понравился этот пост
Valery Ochkov 31.05.2023 11:44:00
#5 Опубликовано: 31.05.2023 14:24:36
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: User

Your Tij make Trc ['r' row ... 'c' col]
1 пользователям понравился этот пост
Valery Ochkov 31.05.2023 15:02:00
#6 Опубликовано: 01.06.2023 12:59:37
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: User

That's what I meant. If the function generates complex
'i' could not be used as index.

Spot.PNG
#7 Опубликовано: 02.06.2023 08:17:15
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: User

Wrote

We need the i variable as variable but not as sqrt(-1)


Imaginary 'i' is pretty Universal, as such in Smath.
No need to freak as stupid as Mathematica 'ii'
[i,j] as compatible indices.
[r,c] ... [m,n] as otherwise needed.

Complex.PNG
#8 Опубликовано: 02.06.2023 08:56:11
Valery Ochkov

Valery Ochkov

55 сообщений из 633 понравились пользователям.

Группа: User

Wrote

Wrote

We need the i variable as variable but not as sqrt(-1)


Imaginary 'i' is pretty Universal, as such in Smath.
No need to freak as stupid as Mathematica 'ii'
[i,j] as compatible indices.
[r,c] ... [m,n] as otherwise needed.

Complex.PNG



Must be so
iii.png
#9 Опубликовано: 02.06.2023 12:14:04
Martin Kraska

Martin Kraska

1222 сообщений из 2150 понравились пользователям.

Группа: Moderator

A consistent way to define mathematical (and perhaps immutable) constants would be to mark them as units. In the case of e this would collide with the elementary charge but for i and pi this might work.

Yet this would require changes in the core of SMath, but part of the expected functionality could be provided by custom units.

There are some glitches in the dynamic assistant though:
- Original definition of i is displayed even though it is not available any more. This can be potentially dangerous
- Re-defined variable i is shown in the preview as we would like to see it in the sheet, yet in the sheet it is not italic.

imag.PNG
imag.sm (27 КиБ) скачан 25 раз(а).
Martin Kraska Pre-configured portable distribution of SMath Studio: https://en.smath.info/wiki/SMath%20with%20Plugins.ashx
#10 Опубликовано: 02.06.2023 14:31:58
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: User

Though, I don't vote for redefining 'i' in Smath,
how would it affect dependent plugins ? Polyroots, Matlab ...]
  • Новые сообщения Новые сообщения
  • Нет новых сообщений Нет новых сообщений