|
|
|
podval |
|
||||||
Где я? Кто я? Профиль Группа: Экс. модератор Сообщений: 3094 Регистрация: 25.3.2002 Где: СПб Репутация: 18 Всего: 62 |
Выложенные здесь алгоритмы преследуют исключительно учебные цели.
Код неоптимизирован, местами морально устарел и показывает только принцип решения той или иной задачи. Однако он вполне рабочий и может быть использован с соответствующей дорботкой под Ваши собственные нужды. Содержание * Перевод из... в... * Графические алгоритмы * Специальные функции * Динамические структуры данных * Сортировка массивов * Сортировка файлов * Методы поиска * Матрицы * Операции с комплексными величинами * Математическая статистика * Интегрирование функций * Календарь * Решение систем линейных уравнений * Решение нелинейных уравнений * Интерполяция * Операции с полиномами * Сжатие и шифрование * Решение дифференциальных уравнений * Вычисление CRC * Разное Перевод из... в... Градусы, минуты, секунды - в градусы
Градусы - в градусы, минуты, секунды
Комплексных величин - в экспоненциальную форму
Это сообщение отредактировал(а) maxim1000 - 5.5.2008, 21:08 |
||||||
|
|||||||
podval |
|
||||||||||
Где я? Кто я? Профиль Группа: Экс. модератор Сообщений: 3094 Регистрация: 25.3.2002 Где: СПб Репутация: 18 Всего: 62 |
Градусы по Фаренгейту - в градусы по Цельсию
Декартовы координаты - в полярные (2D)
Полярные - в декартовы
Декартовы координаты - в сферические (3D)
Сферические - в декартовы
|
||||||||||
|
|||||||||||
podval |
|
||||
Где я? Кто я? Профиль Группа: Экс. модератор Сообщений: 3094 Регистрация: 25.3.2002 Где: СПб Репутация: 18 Всего: 62 |
Число из системы с основанием М - в систему с основанием N
Приведение периодической дробной части к нормальному виду
|
||||
|
|||||
podval |
|
||||
Где я? Кто я? Профиль Группа: Экс. модератор Сообщений: 3094 Регистрация: 25.3.2002 Где: СПб Репутация: 18 Всего: 62 |
Графические алгоритмы
Рисование 3D объекта
Вращение 3D объекта
|
||||
|
|||||
podval |
|
||||
Где я? Кто я? Профиль Группа: Экс. модератор Сообщений: 3094 Регистрация: 25.3.2002 Где: СПб Репутация: 18 Всего: 62 |
Рисование куба
Рисование тора
|
||||
|
|||||
podval |
|
||||
Где я? Кто я? Профиль Группа: Экс. модератор Сообщений: 3094 Регистрация: 25.3.2002 Где: СПб Репутация: 18 Всего: 62 |
Рисование полусферы
Вращение фигуры в плоскости
|
||||
|
|||||
podval |
|
||||
Где я? Кто я? Профиль Группа: Экс. модератор Сообщений: 3094 Регистрация: 25.3.2002 Где: СПб Репутация: 18 Всего: 62 |
Рисование линии (по Брезенхэму)
Рисование окружности (по Брезенхэму)
|
||||
|
|||||
podval |
|
||||
Где я? Кто я? Профиль Группа: Экс. модератор Сообщений: 3094 Регистрация: 25.3.2002 Где: СПб Репутация: 18 Всего: 62 |
Сглаживание кривой В-сплайном
Постепенное затемнение
|
||||
|
|||||
podval |
|
||||||||||
Где я? Кто я? Профиль Группа: Экс. модератор Сообщений: 3094 Регистрация: 25.3.2002 Где: СПб Репутация: 18 Всего: 62 |
Заливка замкнутой области
Рисование линии
Рисование прямоугольника
Фрактал (листья папоротника)
Множество Мандельброта
|
||||||||||
|
|||||||||||
podval |
|
||||||||||||||||
Где я? Кто я? Профиль Группа: Экс. модератор Сообщений: 3094 Регистрация: 25.3.2002 Где: СПб Репутация: 18 Всего: 62 |
Специальные функции
arccos x (x - real)
arccos z (z - complex)
arch x
arch z
arcsin x
arcsin z
arctg x
arctg z
|
||||||||||||||||
|
|||||||||||||||||
podval |
|
||||||||||||||
Где я? Кто я? Профиль Группа: Экс. модератор Сообщений: 3094 Регистрация: 25.3.2002 Где: СПб Репутация: 18 Всего: 62 |
arcsh x
arcsh z
arth x
arth z
Функция Бесселя
Гамма-функция
Бета-функция
|
||||||||||||||
|
|||||||||||||||
podval |
|
||||||||||||
Где я? Кто я? Профиль Группа: Экс. модератор Сообщений: 3094 Регистрация: 25.3.2002 Где: СПб Репутация: 18 Всего: 62 |
ch x (x - real)
ch z (z - complex)
cosec x (x - real)
cos x
cos z (z - complex)
ctg x
|
||||||||||||
|
|||||||||||||
podval |
|
||||||||||||||||||||||
Где я? Кто я? Профиль Группа: Экс. модератор Сообщений: 3094 Регистрация: 25.3.2002 Где: СПб Репутация: 18 Всего: 62 |
e^x (x - real)
e^z (z - complex)
tg x (x - real)
tg z (z - complex)
th x (x - real)
th z (z - complex)
sin x (x- real)
sin z (z - complex)
sec x (x - real)
sh x (x - real)
sh z (z - complex)
|
||||||||||||||||||||||
|
|||||||||||||||||||||||
podval |
|
||||||||
Где я? Кто я? Профиль Группа: Экс. модератор Сообщений: 3094 Регистрация: 25.3.2002 Где: СПб Репутация: 18 Всего: 62 |
Факториал (формула Стирлинга)
sqrt(z), where z is a complex value
ln x (x - real)
ln z (z - complex)
|
||||||||
|
|||||||||
podval |
|
||||||||
Где я? Кто я? Профиль Группа: Экс. модератор Сообщений: 3094 Регистрация: 25.3.2002 Где: СПб Репутация: 18 Всего: 62 |
Динамические структуры данных
Bidirectional cycled list
Binary tree
Stack
List
|
||||||||
|
|||||||||
Правила форума "Алгоритмы" | |
|
Форум "Алгоритмы" предназначен для обсуждения вопросов, связанных только с алгоритмами и структурами данных, без привязки к конкретному языку программирования и/или программному продукту.
Если Вам понравилась атмосфера форума, заходите к нам чаще! С уважением, maxim1000. |
0 Пользователей читают эту тему (0 Гостей и 0 Скрытых Пользователей) | |
0 Пользователей: | |
« Предыдущая тема | Алгоритмы | Следующая тема » |
|
По вопросам размещения рекламы пишите на vladimir(sobaka)vingrad.ru
Отказ от ответственности Powered by Invision Power Board(R) 1.3 © 2003 IPS, Inc. |